package com.ocl.www.thread;

import org.apache.log4j.Logger;
import org.apache.shiro.cache.ehcache.EhCacheManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/11/24.
 */
@Service
public class MailboxThread implements Runnable{

    private Logger log = Logger.getLogger(MailboxThread.class);
    @Autowired
    private EhCacheManager em;

    @Override
    public void run() {

        //log.info("执行mailboxThread线程。。。getSenderId:"+mailbox.getSenderId());
        try {
            wait(10000);
            log.info("执行mailboxThread线程完毕");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }

}
